public class Date {
    /*public int year = 2024;
    public int month = 12;
    public int day = 6;*/

    public int year=2024;
    public int month=12;
    public int day=6;
/*    public String name;
    public boolean yes;*/
    /*public Date() {
        this.year = 2024;
        this.month = 12;
        this.day = 6;
    }*/
    public Date(){

    }

    public Date(int year,int month,int day){
        this.year=year;
        this.month=month;
        this.day=day;
    }
    /*public Date(int year, int month, int day) {
        year = y;
        month = m;
        day = d;
    }*/
    /*public Date() {
        this(2024, 12, 6);
    }

    public Date(int year, int month, int day) {
        this.year = year;
        this.month = month;
        this.day = day;
    }*/


    /*public Date(this.year,this.month,this.day){
        this.year=year;
        this.month=month;
        this.day=day;
    }*/


    public void print() {
        System.out.println(this.year + "年" +
                this.month + "月" + this.day + "日");
    }
}
